package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2023-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SD_MATERIAL")
@ApiModel(value="SdMaterial对象", description="")
public class SdMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "材料ID")
//    @TableId(value = "MTL_NO", type = IdType.AUTO)
    private String mtlNo;

    @ApiModelProperty(value = "材料类型")
    private String mtlType;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    private String purUnit;

    private BigDecimal unitRate;

    private String abcClass;

    private String mrpFlag;

    private String batchFlag;

    private String lotFlag;

    private BigDecimal leadTime;

    private BigDecimal maxStockQty;

    private BigDecimal minStockQty;

    private BigDecimal safeStock;

    private BigDecimal purBatch;

    private String warehouse;

    private String vendorNo;

    private String remark;

    private String assembleFlag;

    private String generalFlag;

    private BigDecimal drawBatch;

    private String sysUser;

    private LocalDateTime sysDate;

    private String companyId;

    private String purUserName;

    private String dontTraceFlag;

    private String outUserId;

    private BigDecimal grossWeight;

    private BigDecimal netWeight;


}
